home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20000114-20000217
/
000118_news@columbia.edu _Sat Jan 22 14:27:02 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2000-02-16
|
3KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA22606
for <kermit.misc@watsun.cc.columbia.edu>; Sat, 22 Jan 2000 14:27:02 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA01320
for kermit.misc@watsun.cc.columbia.edu; Sat, 22 Jan 2000 14:05:05 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Re: C-Kermit 7 and character set translation
Date: 22 Jan 2000 19:05:04 GMT
Organization: Columbia University
Message-ID: <86cv10$190$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <86b0fv$v28$1@nnrp1.deja.com>, <m.arriaga@ip.pt> wrote:
: In article <86ae6g$qm$1@newsmaster.cc.columbia.edu>,
: fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote:
: > :to transfer text
: > : files from the linux system to the DOS computer. How can I do this?
: > :
: > The same way.
: >
: > : I tried reversing the commands you advised me to use:
: > :
: > You don't have to reverse the commands.
:
: Thank you for your reply, but it really doesn't seem to work. I did the
: following:
:
: started MSKermit,
: set file character-set cp850,
: set transfer character-set latin1
: "connect"
:
: and logged into the linux system. There I typed "kermit" and
:
: set file character-set latin1
: set transfer character-set latin1.
:
: 1) To transfer files from the DOS PC to the linux system, I
: typed "receive" at C-Kermit's prompt, then pressed Alt+X, returned to
: the MSKermit prompt, and
:
: send file.txt
:
: This works flawlessly (accented characters are exactly the same on the
: other side!!:-) - but when I try to send files from the linux system to
: the PC, instead of (1) I did:
:
: 2) (at C-Kermit's prompt)
: send file2.txt
:
: I escape back to MSKermit, type
:
: receive
:
: and the file is transferred, but the accented characters are
: unrecognizable. What am I doing wrong?
:
Perhaps the transfer from C-Kermit to MS-DOS Kermit took place in binary
mode?
C-Kermit 7.0:
http://www.columbia.edu/kermit/ckermit.html
transfers files whose names end with ".txt" in text mode by default, but
earlier versions don't have this feature. If you are using C-Kermit 6.0
or earlier, you might have to tell it to:
set file type text
before giving the SEND command.
If you are using C-Kermit 7.0, then you can force a transfer into text
or binary mode with the (new) /TEXT or /BINARY switch on the SEND command,
for example:
send /text file2.txt
By the way, you don't have to type the character-set commands every time.
If you always use the same character sets for text files, you can put:
set file character-set cp850
set transfer character-set latin1
in your MSCUSTOM.INI file on the PC, and:
set file character-set latin1
set transfer character-set latin1
in your .mykermrc file on UNIX. Then, whenever you transfer a file in
text mode between these two computers, you will always get the appropriate
CP850-Latin1 translations.
This suggestion presumes you are using the standard MSKERMIT.INI and .kermrc
initialization files (which "call" your personal customization files).
- Frank